package com.qf.shopping.mapper.carMapper;

import com.qf.shopping.pojo.car.CarManufacturer;

import java.util.List;

/**
 * 厂商管理mapper
 * @author Humy
 * @date 2019/4/12 14:39
 */
public interface CarManufacturerMapper {

    /**
     * 新增厂商
     * @param manufacturer
     */
    void insert(CarManufacturer manufacturer);

    /**
     * 根据条件查询厂商
     * @param manufacturer
     * @return
     */
    List<CarManufacturer> findManufacturerByVo(CarManufacturer manufacturer);

    /**
     * 修改汽车厂商
     * @param manufacturer
     */
    void updateManufacturer(CarManufacturer manufacturer);

    /**
     * 删除汽车厂商
     * @param ids
     */
    void deleteManufacturer(Long... ids);

}
